﻿using System;
using System.Collections.Generic;
using System.Text;

namespace ConsoleApp1
{
    class TravelAgency
    {
        //Travels[] travels;
        string dd;
        int fy;
        public int this[string index]
        {
            get
            {
                if (index == "北京")
                {
                    return 1000;
                }else if(index == "加利福尼亚")
                {
                    return 10000;
                }
                else
                {
                    return 0;
                }
            }
            set { }
        }
    }
}
